<template>
	<view>
		<u-navbar :background="background" :borderBottom="false"></u-navbar>
		<view class="content display juzhong">
			<view class="con_1">
				<view class="p_bottom_10">
					<image src="../../static/index/index/success.png"></image>
				</view>
				<view class="ft_20 c-333 fw-b p_bottom_10">
					支付成功
				</view>
				<view class="c-999">
					可到我的-我的订单查看
				</view>
			</view>
			
		</view>
		<view class="confirmBtn" @click="backIndex">
			返回首页
		</view>
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				background:{backgroundColor: '#fafafa',},
				
				
			};
		},
		onBackPress() { //监听返回
			this.backIndex()
			return true
		},
		methods:{
			
			backIndex(){ //返回首页
				uni.switchTab({
					url:"../index/index"
				})
			},
			
		},
		
	}
</script>

<style lang="scss">
page{
	background-color: #fafafa;
}
.content{
	flex-flow: column;
	padding-top: 5px;
	.con_1{
		padding: 15px;margin-bottom: 5px;
		text-align: center;
		image{
			width: 90px;height: 90px;
		}
	}
	.con_2{
		text-align: center;
		image{
			width: 240px;height: 240px;
		}
	}
}
.confirmBtn{
	background: linear-gradient(90deg, #F1A421 0%, #E4741F 100%);margin: 0 70px;padding: 15px 0;color: #FFFFFF;border-radius: 30px;text-align: center;position: fixed;bottom: 80px;width: 245px;
}

</style>
